import Layout from '@/layout'

const adminRouter = {
  path: '/base',
  component: Layout,
  redirect: 'noRedirect',
  name: 'base',
  meta: { title: '基础信息管理', icon: 'el-icon-s-claim' },
  children: [
    {
      path: 'well',
      component: () => import('@/viewsMain/base/well'),
      name: 'well',
      meta: { title: '井号管理', icon: 'el-icon-s-management' }
    },
    {
      path: 'well-area',
      component: () => import('@/viewsMain/base/wellArea'),
      name: 'wellArea',
      meta: { title: '区块', icon: 'el-icon-s-management' }
    },
    {
      path: 'well-org',
      component: () => import('@/viewsMain/base/wellOrg'),
      name: 'wellOrg',
      meta: { title: '生产单位', icon: 'el-icon-s-management' }
    },
    {
      path: 'geology',
      component: () => import('@/viewsMain/base/geology'),
      name: 'geology',
      meta: { title: '地质情况', icon: 'el-icon-s-management' }
    },
    {
      path: 'exploit',
      component: () => import('@/viewsMain/base/exploit'),
      name: 'exploit',
      meta: { title: '开发情况', icon: 'el-icon-s-management' }
    }
  ]
}
export default adminRouter
